import request from '@/utils/request'
const serviceName = 'Estate'
//  列表
export function queryRoomStates(data) {
  return request({
    url: serviceName + '/State/QueryRoomStates',
    method: 'post',
    data
  })
}
//  详情
export function getRoomState(data) {
  return request({
    url: serviceName + '/State/GetRoomState',
    method: 'post',
    data
  })
}
//  新增 修改
export function saveRoomState(data) {
  return request({
    url: serviceName + '/State/SaveRoomState',
    method: 'post',
    data
  })
}
//  删除
export function deleteRoomStates(data) {
  return request({
    url: serviceName + '/State/DeleteRoomStates',
    method: 'post',
    data
  })
}

export default {
  queryRoomStates,
  getRoomState,
  saveRoomState,
  deleteRoomStates
}
